(global.webpackJsonp = global.webpackJsonp || []).push([ [ "shop/redemption/list" ], {
    "245e": function(e, t, n) {
        (function(e) {
            n("1067"), r(n("66fd"));
            var t = r(n("f393"));
            function r(e) {
                return e && e.__esModule ? e : {
                    default: e
                };
            }
            wx.__webpack_require_UNI_MP_PLUGIN__ = n, e(t.default);
        }).call(this, n("543d").createPage);
    },
    "2e5c": function(e, t, n) {
        n.d(t, "b", function() {
            return r;
        }), n.d(t, "c", function() {
            return i;
        }), n.d(t, "a", function() {});
        var r = function() {
            this.$createElement;
            this._self._c;
        }, i = [];
    },
    "3a23": function(e, t, n) {},
    "5cc4": function(e, t, n) {
        var r = n("3a23");
        n.n(r).a;
    },
    "7a1d": function(e, t, n) {
        n.r(t);
        var r = n("ef15"), i = n.n(r);
        for (var o in r) "default" !== o && function(e) {
            n.d(t, e, function() {
                return r[e];
            });
        }(o);
        t.default = i.a;
    },
    ef15: function(e, t, n) {
        (function(e) {
            Object.defineProperty(t, "__esModule", {
                value: !0
            }), t.default = void 0;
            var r = n("26cb"), i = n("8f9b"), o = n("8434");
            function a(e) {
                return function(e) {
                    if (Array.isArray(e)) return c(e);
                }(e) || function(e) {
                    if ("undefined" != typeof Symbol && Symbol.iterator in Object(e)) return Array.from(e);
                }(e) || function(e, t) {
                    if (e) {
                        if ("string" == typeof e) return c(e, t);
                        var n = Object.prototype.toString.call(e).slice(8, -1);
                        return "Object" === n && e.constructor && (n = e.constructor.name), "Map" === n || "Set" === n ? Array.from(e) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? c(e, t) : void 0;
                    }
                }(e) || function() {
                    throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
                }();
            }
            function c(e, t) {
                (null == t || t > e.length) && (t = e.length);
                for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n];
                return r;
            }
            function s(e, t) {
                var n = Object.keys(e);
                if (Object.getOwnPropertySymbols) {
                    var r = Object.getOwnPropertySymbols(e);
                    t && (r = r.filter(function(t) {
                        return Object.getOwnPropertyDescriptor(e, t).enumerable;
                    })), n.push.apply(n, r);
                }
                return n;
            }
            function u(e, t, n) {
                return t in e ? Object.defineProperty(e, t, {
                    value: n,
                    enumerable: !0,
                    configurable: !0,
                    writable: !0
                }) : e[t] = n, e;
            }
            n("db8f");
            var f = {
                components: {},
                computed: function(e) {
                    for (var t = 1; t < arguments.length; t++) {
                        var n = null != arguments[t] ? arguments[t] : {};
                        t % 2 ? s(Object(n), !0).forEach(function(t) {
                            u(e, t, n[t]);
                        }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : s(Object(n)).forEach(function(t) {
                            Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
                        });
                    }
                    return e;
                }({}, (0, r.mapGetters)([ "configs", "mainColor", "user", "iphoneXStyle", "priceColor" ])),
                data: function() {
                    return {
                        isRequest: !1,
                        loadingOk: !1,
                        lists: [],
                        page: 1,
                        pagesize: 10
                    };
                },
                mounted: function() {
                    this.getLists();
                },
                methods: {
                    onReachBottom: function() {
                        this.page++, this.loadingOk = !1, this.getLists();
                    },
                    onPullDownRefresh: function() {
                        this.isRequest = !1, this.loadingOk = !1, this.page = 1, this.lists = [], this.getLists();
                    },
                    goDetail: function(e) {
                        var t = "";
                        switch (e.type) {
                          case "1":
                            t = "/course/course/courseDetails";
                            break;

                          case "2":
                            t = "/member/member/memCenter";
                            break;

                          case "3":
                            t = "/question/paper/index";
                            break;

                          case "4":
                            t = "/annex/detail";
                            break;

                          case "5":
                            t = "/member/member/svip";
                        }
                        5 == e.type ? (0, o.route)({
                            url: t,
                            type: 1,
                            data: {
                                card_id: e.cid
                            }
                        }) : (0, o.route)({
                            url: t,
                            type: 1,
                            data: {
                                id: e.cid
                            }
                        });
                    },
                    getLists: function() {
                        var t = this, n = this;
                        this.loadingOk = !1, this.isRequest = !1;
                        var r = {
                            page: this.page,
                            pagesize: this.pagesize
                        };
                        (0, i.exchangeLog)(r).then(function(r) {
                            var i = n.lists, o = r.list;
                            i && 1 != n.page ? n.lists = [].concat(a(i), a(o)) : n.lists = o, e.stopPullDownRefresh(), 
                            t.loadingOk = !0, t.isRequest = 0 == n.lists.length;
                        });
                    }
                }
            };
            t.default = f;
        }).call(this, n("543d").default);
    },
    f393: function(e, t, n) {
        n.r(t);
        var r = n("2e5c"), i = n("7a1d");
        for (var o in i) "default" !== o && function(e) {
            n.d(t, e, function() {
                return i[e];
            });
        }(o);
        n("5cc4");
        var a = n("f0c5"), c = Object(a.a)(i.default, r.b, r.c, !1, null, "64d1c18b", null, !1, r.a, void 0);
        t.default = c.exports;
    }
}, [ [ "245e", "common/runtime", "common/vendor" ] ] ]);